#ifndef API_CHANGES_H
#define API_CHANGES_H

#include <set>
#include <unordered_map>
#include <vector>

#include "common/elements/element_type.hpp"

namespace Api
{

typedef std::unordered_map<Elements::ElementType, std::set<unsigned>> Changes;

void addToChanges(
    Changes& changes,
    Elements::ElementType type,
    unsigned id
);

void addToChanges(
    Changes& changes,
    Elements::ElementType type,
    const std::vector<unsigned>& ids
);

} // namespace Api

#endif // API_CHANGES_H
